#!/usr/bin/env python
# -*- coding: utf-8 -*-
# File  :config.py
# Time  :2025/4/2 15:37
# Email :fortunatedong@163.com
# Author:by Adonli
import os
import streamlit as st
# 直接获取项目根目录（假设此文件位于根目录）
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))

USERNAME = ["xxx","huangkaiting","luoxiang","chenyan","hejianying"]
PASSWORD = ["xxxxxxxx","xxxxxxxx","xxxxxxxxx","xxxxxxxxx","xxxxxxxx"]

JINGDONGUSER = {
    "金穗隆集团": "xxxxxxxxxxxxxxxxx@kinslot",
    "xxxxxxxxxxxxxxxx":"xxxxxxxxxxxxxxxxxx"
}


def Header_space():
    return st.markdown(
        """
            <style>
                    .stAppHeader {
                        background-color: rgba(255, 255, 255, 0.0);  /* Transparent background */
                        visibility: visible;  /* Ensure the header is visible */
                    }

                   .block-container {
                        padding-top: 1rem;
                        padding-bottom: 0rem;
                        padding-left: 5rem;
                        padding-right: 5rem;
                    }
            </style>
            """,
        unsafe_allow_html=True,
    )